package com.ruyuan.dependency.order.api;

import com.ruyuan.dependency.order.vo.CreateOrderReuqest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhonghuashishan
 */
@FeignClient("dependency-order-service")
@RequestMapping("/order")
public interface OrderApi {

    @PostMapping
    Boolean ceateOrder(@RequestBody CreateOrderReuqest request);

}
